package com.syq.service.impl;

import com.syq.mapper.DtsOrderGoodsMapper;
import com.syq.service.DtsOrderGoodsService;
import com.syq.vo.OrderGoodsStat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @ClassName: DtsOrderGoodsServiceImpl
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/28 20:59
 */
@Transactional
@Service
public class DtsOrderGoodsServiceImpl implements DtsOrderGoodsService {
    @Autowired
    private DtsOrderGoodsMapper dtsOrderGoodsMapper;
    @Override
    public List<OrderGoodsStat> findOrderStat() {
        return dtsOrderGoodsMapper.findOrderGoodsStata();
    }
}
